<?php
class OptionGroup extends CoreTagWithLang {
	protected $label;
	protected $disabled;

	public function __construct() {
		parent::__construct("optgroup");
		$this->label="";
		$this->disabled="";
		$this->attributeNames=array_merge($this->attributeNames,array('label','disabled'));
		$this->attributeValues=array_merge($this->attributeValues,array('',''));
	}

	public function setLabel($_label) {
		$this->label=(string)$_label;
		$this->setAttribute('label',$_label);
	}
	public function getLabel() {
		return $this->label;
	}
	public function setDisabled($_disabled) {
		$this->disabled=(string)$_disabled;
		$this->setAttribute('disabled',$_disabled);
	}
	public function getDisabled() {
		return $this->disabled;
	}

}
?>